<div id="navigation">
	<ul id="navlist">
		<li><a href="index.php">Home page</a></li>
		<li><a href="?p=profile&id=<?php echo $user->id;?>" <?php if($_GET['p'] == 'profile') { echo "class='selected'"; } ?>>My Profile</a></li>
		<li><a href="?p=blackjack" <?php if($_GET['p'] == 'blackjack') { echo "class='selected'"; } ?>>Blackjack</a></li>
		<li><a href="?p=credits" <?php if($_GET['p'] == 'credits') { echo "class='selected'"; } ?>>Buy Credits</a></li>
	</ul>
</div>